home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / source / fullr_2 / makefile < prev    next >
Encoding:
Makefile  |  1994-08-29  |  892 b   |  46 lines

  1. ##
  2. ## Full Screen Image Rotation -- Using DJGPP with GO32
  3. ##
  4. ## Runs in 32 bit protected mode.  A 386 or better is required to run this
  5. ## program.
  6. ##
  7. ## Scott Deming
  8. ## sad@umcc.umich.edu
  9. ##
  10. ##############################################################################
  11.  
  12. CC=gcc
  13. CFLAGS=-m486 -Wall -Winline $(OPTFLAGS)
  14. OPTFLAGS=-O2 -fomit-frame-pointer -funroll-all-loops
  15.  
  16. LIB=-lm -lpc -lpc32
  17. OBJ=fullrot.o gfxmisc.o
  18.  
  19. BIN=fullrot
  20. EXE=fullrot.exe
  21.  
  22.  
  23.  
  24. $(BIN): $(OBJ)
  25.     $(CC) $(CFLAGS) $(OBJ) -o $(BIN) $(LIB)
  26.     coff2exe $(BIN)
  27.  
  28. backup:
  29.     pkzip backup.zip *.c *.h makefile test.pcx sintab.dat
  30.  
  31. distrib:
  32.     pkzip fullrot.zip *.c *.h makefile test.pcx sintab.dat go32.exe emu387 \
  33.         fullrot.exe readme.1st
  34.  
  35. clean:
  36.     del *.o
  37.     del $(BIN)
  38.     del $(EXE)
  39.  
  40.  
  41. fullrot.o:
  42.     $(CC) -c $(CFLAGS) fullrot.c -o fullrot.o
  43.  
  44. gfxmisc.o:
  45.     $(CC) -c $(CFLAGS) gfxmisc.c -o gfxmisc.o
  46.